<?php
require_once "init.php";

use Curl\Curl;
use App\DownloadMusic\IndexController;

$curl = new Curl();
$menu = [
	'DownloadMusic'=>'下载音乐',
	'quit' => 'Quit',
];
$type =true;
while ($type) {
	$choice = \cli\menu($menu, null, '请选择');
	\cli\line();
	if($choice=='DownloadMusic'){
		$DownloadMusic = new IndexController();
		break;
	}
	if ($choice == 'quit') {
		break;
	}
}
